package com.szlanyou.cmc;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author: ly-songpengfei
 * @Date: 2025/7/31 14:44
 * @Description: 程序启动类
 * @Version: 1.0
 */
@Slf4j
@SpringBootApplication
@ComponentScan(basePackages = {"ly.mp.cmc.controller", "com.ly.mp.cmc.common.exception",
        "com.ly.mp.cmc.common.filter", "com.szlanyou.cmc.mapper", "com.szlanyou.cmc.service", "com.szlanyou.cmc.controller"})
//@ServletComponentScan
public class AppDemoTest {
    /**
     * @Description 程序主启动方法入口
     * @Param [args]
     * @Return void
     * @Author ly-songpengfei
     * @Date 2025/8/1 15:23
     */
    public static void main(String[] args) {
        SpringApplication.run(AppDemoTest.class, args);
        log.info("================华神零件成本管理系统启动成功================");
    }

}
